<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
<beans>
	<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
		<property name="dataSource" ref="dataSource" />
		<property name="hibernateProperties">
			<props>
				<prop key="hibernate.dialect">\${hibernate.dialect}</prop>
			</props>
		</property>
		<property name="mappingResources">
			<list>
#for i in class.attributes.models
				<value>${.i}.hbm.xml</value>
#end
			</list>
		</property>
	</bean>
</beans>
